WCPay\WooPay\WooPay_Utilities S

Total Complexity 50
Dependencies 7
Dependents 10
Total lines 337
Lines of code 145
Logical lines of code 81
Comment lines 130
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
should_enable_woopay_on_cart_or_checkout()
A
59 9 14
decrypt_signed_data()
S
56 4 17
should_save_platform_customer()
S
66 5 7
get_store_blog_token()
S
61 4 12
encrypt_and_sign_data()
S
55 2 19
should_enable_woopay()
S
72 2 5
get_woopay_url()
S
78 2 3
get_woopay_viewport()
S
68 2 7
get_woopay_is_blocks()
S
74 2 4
get_woopay_source_url()
S
68 2 7
get_woopay_phone()
S
68 2 7
is_store_country_available()
S
66 2 8
is_country_available()
S
66 2 8
is_woopay_first_party_auth_enabled()
S
79 2 3
is_woopay_express_checkout_enabled()
S
79 2 3
get_persisted_available_countries()
S
68 2 7
is_guest_checkout_enabled()
S
78 1 3
get_woopay_rest_url()
S
78 1 3
get_woopay_request_signature()
S
71 1 5
is_woopay_email_input_enabled()
S
79 1 3